package com.weiyuwqj.api.model;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Table(name = "bas_user_info")
public class BasUserInfo implements Serializable {
    /**
     * 主键
     */
    @Id
    private Integer id;

    /**
     * 用户id
     */
    @Column(name = "user_id")
    private Integer userId;

    /**
     * 用户id
     */
    private Date birthday;

    /**
     * 生日
     */
    private String edu;

    /**
     * 教育情况
     */
    @Column(name = "company_address")
    private String companyAddress;

    /**
     *用户类型
     */
    @Column(name = "customer_type")
    private Integer customerType;

    /**
     * 公司地址
     */
    @Column(name = "home_address")
    private String homeAddress;

    /**
     *现居地
     */
    @Column(name = "current_address")
    private String currentAddress;

    /**
     *出生地
     */
    @Column(name = "birth_address")
    private String birthAddress;

    @Column(name = "invite_code")
    private String inviteCode;

    @Column(name = "qq_open_id")
    private String qqOpenId;

    @Column(name = "we_chat_open_id")
    private String weChatOpenId;

    @Column(name = "blog_open_id")
    private String blogOpenId;

    @Column(name = "cash_limit")
    private Integer cashLimit;

    private String qqNickname;

    private String weChatNickname;

    private String blogNickname;

    private String photo;

    /**
     * 家庭地址
     */
    private String idcard1;

    /**
     * 身份证正面照片地址
     */
    private String idcard2;

    /**
     * 性别
     */
    private Integer sex;

    /**
     * 备注
     */
    private String remark;

    public Integer getCashLimit() {
        return cashLimit;
    }

    public void setCashLimit(Integer cashLimit) {
        this.cashLimit = cashLimit;
    }

    public String getQqOpenId() {
        return qqOpenId;
    }

    public void setQqOpenId(String qqOpenId) {
        this.qqOpenId = qqOpenId;
    }

    public String getWeChatOpenId() {
        return weChatOpenId;
    }

    public void setWeChatOpenId(String weChatOpenId) {
        this.weChatOpenId = weChatOpenId;
    }

    public String getBlogOpenId() {
        return blogOpenId;
    }

    public void setBlogOpenId(String blogOpenId) {
        this.blogOpenId = blogOpenId;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public String getInviteCode() {
        return inviteCode;
    }

    public void setInviteCode(String inviteCode) {
        this.inviteCode = inviteCode;
    }

    /**
     * 获取主键
     *
     * @return id - 主键
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置主键
     *
     * @param id 主键
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取主键
     *
     * @return user_id - 主键
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * 设置主键
     *
     * @param userId 主键
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * 获取用户id
     *
     * @return birthday - 用户id
     */
    public Date getBirthday() {
        return birthday;
    }

    /**
     * 设置用户id
     *
     * @param birthday 用户id
     */
    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    /**
     * 获取生日
     *
     * @return edu - 生日
     */
    public String getEdu() {
        return edu;
    }

    /**
     * 设置生日
     *
     * @param edu 生日
     */
    public void setEdu(String edu) {
        this.edu = edu;
    }

    /**
     * 获取教育情况
     *
     * @return company_address - 教育情况
     */
    public String getCompanyAddress() {
        return companyAddress;
    }

    /**
     * 设置教育情况
     *
     * @param companyAddress 教育情况
     */
    public void setCompanyAddress(String companyAddress) {
        this.companyAddress = companyAddress;
    }

    /**
     * 获取公司地址
     *
     * @return home_address - 公司地址
     */
    public String getHomeAddress() {
        return homeAddress;
    }

    /**
     * 设置公司地址
     *
     * @param homeAddress 公司地址
     */
    public void setHomeAddress(String homeAddress) {
        this.homeAddress = homeAddress;
    }

    /**
     * 获取家庭地址
     *
     * @return idcard1 - 家庭地址
     */
    public String getIdcard1() {
        return idcard1;
    }

    /**
     * 设置家庭地址
     *
     * @param idcard1 家庭地址
     */
    public void setIdcard1(String idcard1) {
        this.idcard1 = idcard1;
    }

    /**
     * 获取身份证正面照片地址
     *
     * @return idcard2 - 身份证正面照片地址
     */
    public String getIdcard2() {
        return idcard2;
    }

    /**
     * 设置身份证正面照片地址
     *
     * @param idcard2 身份证正面照片地址
     */
    public void setIdcard2(String idcard2) {
        this.idcard2 = idcard2;
    }

    public String getCurrentAddress() {
        return currentAddress;
    }

    public void setCurrentAddress(String currentAddress) {
        this.currentAddress = currentAddress;
    }

    public String getBirthAddress() {
        return birthAddress;
    }

    public void setBirthAddress(String birthAddress) {
        this.birthAddress = birthAddress;
    }

    public Integer getCustomerType() {
        return customerType;
    }

    public void setCustomerType(Integer customerType) {
        this.customerType = customerType;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getQqNickname() {
        return qqNickname;
    }

    public void setQqNickname(String qqNickname) {
        this.qqNickname = qqNickname;
    }

    public String getWeChatNickname() {
        return weChatNickname;
    }

    public void setWeChatNickname(String weChatNickname) {
        this.weChatNickname = weChatNickname;
    }

    public String getBlogNickname() {
        return blogNickname;
    }

    public void setBlogNickname(String blogNickname) {
        this.blogNickname = blogNickname;
    }
}